Projects each element of a collection into a new form.

Namespace:  C1.LiveLinq
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public static IIndexedSource<TResult> Select<TSource, TResult>(
	this IIndexedSource<TSource> source,
	Expression<Func<TSource, TResult>> selector
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Select(Of TSource, TResult) ( _
	source As IIndexedSource(Of TSource), _
	selector As Expression(Of Func(Of TSource, TResult)) _
) As IIndexedSource(Of TResult)

Parameters

source
Type: C1.LiveLinq.Indexing..::..IIndexedSource<(Of <(<'TSource>)>)>
An IIndexedSource<TSource> collection of values to invoke a transform function on.
selector
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TSource, TResult>)>)>>)>)>
A transform function to apply to each element.

Type Parameters

TSource
The type of the elements of source.
TResult
The type of the value returned by selector.

Return Value

An IIndexedSource<TResult> whose elements are the result of invoking the transform function on each element of source.

See Also